import axios from '@/utils/http'

// 删除订单
export function delOrder(params: any) {
  return axios({
    url: '/order/del',
    method: 'get',
    params: params
  })
}
// 新增订单
export function addOrder(params: any) {
  return axios({
    url: '/order/add',
    method: 'post',
    params: params
  })
}
// 修改订单
export function updOrder(params: any) {
  return axios({
    url: '/order/update',
    method: 'post',
    params: params
  })
}
// 修改订单
export function updStatus(params: any) {
  return axios({
    url: '/order/updStatus',
    method: 'get',
    params: params
  })
}
//获取数据
export function countNum(params: any) {
  return axios({
    url: '/order/countNum',
    method: 'get',
    params: params
  })
}
//获取趋势
export function countDaysNum(params: any) {
  return axios({
    url: '/order/countDaysNum',
    method: 'get',
    params: params
  })
}
//获取趋势
export function countDaysPrice(params: any) {
  return axios({
    url: '/order/countDaysPrice',
    method: 'get',
    params: params
  })
}



